package com.wlcorp.forcazamis.dao.stock;

import java.util.List;

import com.ibatis.dao.client.DaoException;
import com.wlcorp.forcazamis.domain.stock.Stock;

public interface IStockDAO {
	public List<Stock> getStockList(Stock stock) throws DaoException;
	public Stock getStockById(Long stockId) throws DaoException;
	public void deleteStock(Stock stock) throws DaoException;
	public void saveStock(Stock stock) throws DaoException;
	public void updateStock(Stock stock) throws DaoException;
	public Stock getStockByStockCodeAndFactoryId(String stockCode, Long factoryId)throws DaoException;
	public Long getMaxStockId() throws DaoException;
	public Long getStockCount(Stock stock) throws DaoException;
}
